package com.khyr.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.khyr.entity.News;
import com.khyr.vo.NewsVo;
import com.khyr.vo.R;


/**
 * @author 宋一恒
 * @version 1.0
 */
public interface NewsService {
    R<Page<News>> getNewsByParams(NewsVo newsVo);

    R<String> addNews(News news);

    R<String> updateNews(News news);

    R<String> deleteNewsByIds(Long newsId);
}
